package org.example.maven.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.maven.pojo.permission.PermissionSelect;

import java.util.List;

@Mapper
public interface PermissionMapper {
    //获取选择权限框的信息
    @Select("select id,perm_name as label from permission")
    List<PermissionSelect> getPermissionSelect();
}
